<template>
  <div class="myContainer">
    <el-row class="myTitleBorderBottom">
      <el-col :span="12" class="myLineHeight_40px">{{this.title}}</el-col>
      <el-col :span="12" class="myTextAlignRight">
        <el-button type="primary" class="myBgGreen">导出</el-button>
      </el-col>
    </el-row>    
    <el-row class="myMarginTop_10px">
      <el-col :span="24">
        <el-table
          ref="multipleTable"
          :data="tableData"
          :border = true
          :stripe = true
          style="width: 100%"
          @selection-change="handleSelectionChange">
          <el-table-column
            type="selection"
            width="55">
          </el-table-column>
          <el-table-column
            label="序号"
            type="index"
            width="100">
          </el-table-column>
          <el-table-column
          	prop="title"
            label="标题"
            >
          </el-table-column> 
          <el-table-column
          	prop="digest"
            label="描述"
            >
          </el-table-column> 
          <el-table-column
            prop="digest"
            label="图片信息"
            >
          </el-table-column> 
          <el-table-column
            prop="digest"
            label="跳转信息"
            >
          </el-table-column> 
          <el-table-column
          	prop="create_time"
            label="创建时间"
            >
          </el-table-column>
          <el-table-column
          	prop="send_time"
            label="发布时间"
            >
          </el-table-column>
          <el-table-column
          	prop="publisher"
            label="创建人"
            >
          </el-table-column>
          <el-table-column
          	prop="to_user_type"
            label="位置"
            >
          </el-table-column>
          <el-table-column
            label="操作"
            width="100">
            <template scope="scope">
              <el-button type="text"  class="look" size="small">展开</el-button> 	
              | <el-button type="text"  class="look" size="small">收起</el-button> 
            </template>
          </el-table-column>
        </el-table>
        <div class="block">                    
          <el-pagination
            @size-change="handleSizeChange"
            @current-change="handleCurrentChange"
            :current-page="page_num"
            :page-sizes="[10, 15]"
            :page-size="page_size"
            layout="total, sizes, prev, pager, next, jumper"
            :total="total">
          </el-pagination>
        </div>
      </el-col>
    </el-row>
  </div>
</template>

<style scoped>
  .myContainer{
    background: #fff;
    padding: 10px;
  }
  .myTitleBorderBottom{
    color: #000;
    font-weight: 500;
    font-size: 16px;
    border-bottom: 1px solid #dbdbdb;
  }
  .myBgGreen{
    background: #00c2a9;
    border-color: #00c2a9;
    color: #fff;
    margin-top:2px;
  }
  .myBgGreen:hover{
    background: #33ceba;
  }
  .myTextAlignRight{
    text-align: right;
  }
  .myLineHeight_40px{
    line-height: 40px;
  }
  .myMarginTop_10px{
    margin-top: 10px;
  }
  .myColorRed{
    color: #f00;
  }
  .myLeftMsg{
    line-height: 40px;
    text-align: right;
    padding-right: 10px;
  }
  .myMarginBottom_10px{
  	margin-bottom: 10px;
  }
  .myVA_M{
    vertical-align: middle;
  }
</style>

<script>
  import {  } from "@/api/contentMGT";
  export default {
    data(){
      return{  
        title:"广告位管理",    
        tableData:[],  
        total:null, //总条数  
        page_num: 1, //当前页码
        page_size: 10, //每页显示多少条 
        kw:"",
        time:"",
        range:"",
        rangeList:[],
        type:"",
        typeList:[],
        responseUrl:"",
        imageUrl:"",
      }
    },
    created() {
      document.title=this.title;
    },
    filters: {
    },
    methods:{
      onGetNewsList(){
      	
      },	
      onSearch() {//查询
      },
      handleSizeChange(val) {
        this.page_size = val;
      },
      handleCurrentChange(val) {
        this.page_num = val;
      },
      handleSelectionChange(val) {
      },
    }

  }


</script>



